package com.sky.service;

import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.entity.Dish;
import com.sky.result.PageResult;
import com.sky.vo.DishVO;

import java.util.List;

public interface DishService {
    PageResult pageDish(DishPageQueryDTO dishPageQueryDTO);

    void addDishAndFlavo(DishDTO dishDTO);

    void openOrClose(Integer status, Long id);

    DishVO dishById(Long id);

    void dishUpdate(DishDTO dishDTO);

    void dishDelete(Integer[] ids);

    List<Dish> categoryByIdList(Long categoryId);

    List<DishVO> categoryByIdListAndFlavor(Long categoryId);
}
